home *** CD-ROM | disk | FTP | other *** search
/ Level 2005 Christmas (DVD) / Level_2005-XMAS_134_DVD_Knightshift.iso / Demos / Ski Racing 2006 / setup1.cab / DataCommonShadersDX8AlphaResolve.vsh < prev    next >
Encoding:
Text File  |  2005-11-03  |  367 b   |  19 lines

  1. ; Shader version 1.1
  2. vs.1.1
  3.  
  4. ;def c4,    0.5,0.5,0.5,1.0
  5.  
  6. ; Transform position to clip space and output it
  7. ;dp4 oPos.x, v0, c0
  8. ;dp4 oPos.y, v0, c1
  9. ;dp4 oPos.z, v0, c2
  10. ;dp4 oPos.w, v0, c3
  11. m4x4 oPos, v0, c0
  12.  
  13. ; Just copy the color (decal)
  14. ; Use the passed in constant for the color (red)
  15. mov oD0, c4
  16.  
  17. ; Just copy the texture coords
  18. mov oT0, v7
  19. mov oT1, v7